package com.youdoneed.news.news.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "新闻作者与新闻关联对象")
public class CmfAuthorRelation {
	
	@ApiModelProperty(value = "主键id")
    private Integer id;
	
	@ApiModelProperty(value = "新闻作者id")
    private Integer authorId;
	
	@ApiModelProperty(value = "新闻文章id")
    private Integer postsId;
	
	@ApiModelProperty(value = "添加时间")
    private Integer addTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAuthorId() {
        return authorId;
    }

    public void setAuthorId(Integer authorId) {
        this.authorId = authorId;
    }

    public Integer getPostsId() {
        return postsId;
    }

    public void setPostsId(Integer postsId) {
        this.postsId = postsId;
    }

    public Integer getAddTime() {
        return addTime;
    }

    public void setAddTime(Integer addTime) {
        this.addTime = addTime;
    }
}